/**
 * @Author 天下无敌
 * @Date 
 * @AIDE AIDE+ 
 */
package com.ecs.core;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.Game;
import com.ecs.core.screen.LoadScreen;
import com.ecs.core.utils.LoadPath;
//测试用
public class MainGame extends Game
{
	public AssetManager assetManager;
	
	@Override
	public void create()
	{
		assetManager = new AssetManager();
		
		LoadPath lp = LoadPath.formJson("gameAssetPath.json");
		lp.loadAll(assetManager);
		setScreen(new LoadScreen(this));
		
	}

	@Override
	public void dispose()
	{
		super.dispose();
		assetManager.dispose();
	}
	
	
}
